package zhou.teamwork07;

public class Country {
	String countryName;
	String weapon;
	int weaponNum;
	String destination;
	public String getCountryName() {
		return countryName;
	}
	public void setCountryName(String countryName) {
		this.countryName = countryName;
	}
	public String getWeapon() {
		return weapon;
	}
	public void setWeapon(String weapon) {
		this.weapon = weapon;
	}
	public int getWeaponNum() {
		return weaponNum;
	}
	public void setWeaponNum(int weaponNum) {
		this.weaponNum = weaponNum;
	}
	public String getDestination() {
		return destination;
	}
	public void setDestination(String destination) {
		this.destination = destination;
	}
	
	String have(String countryN,int num,String thing){	
		this.countryName=countryN;
		this.weaponNum=num;
		this.weapon=thing;
		return countryName+"有" + weaponNum+"架"+thing+",";
	}
	String overfly(String destination){
		this.destination=destination;
		return "飞越了"+destination+",";
	}
	String transfer(String countryN,int num,String thing){	
		this.countryName=countryN;
		this.weaponNum=num;
		this.weapon=thing;
		return countryName+"紧急调动了" + weaponNum+"架"+thing;
	}
	void follow(String countryN,String thing){	
		this.countryName=countryN;
		this.weapon=thing;
		System.out.println("跟随"+countryName+thing);
	}
	
	
	/*有
飞跃了
紧急调动了
跟随+countryName+weapon*/
	
}

//3. 中国有6架战斗机，飞跃了日本海， 日本紧急调动了20架战斗机，跟随中国飞机。 用程序描述。
